import request from "@/utils/request"
const BASE_URL = process.env.VUE_APP_BASE_URL

/**
 * 验证密码
 * @param {*} data
 */
export function adminConfigVerifyPasswordAPI(data) {
	return request({
		url: BASE_URL + "adminConfig/verifyPassword",
		method: "post",
		headers: {
			"Content-Type": "application/json;charset=UTF-8"
		},
		data: data
	})
}

/**
 * 模块初始化
 * @param {*} data
 */
export function adminConfigModuleInitDataAPI(data) {
	return request({
		url: BASE_URL + "adminConfig/moduleInitData",
		method: "post",
		headers: {
			"Content-Type": "application/json;charset=UTF-8"
		},
		data: data
	})
}
